.class public Llt/noframe/gpsfarmguide/NavigationDrawerFragment;
.super Landroidx/fragment/app/Fragment;
.source "NavigationDrawerFragment.java"

# interfaces
.implements Llt/noframe/gpsfarmguide/purchases/RemoveAdsListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Llt/noframe/gpsfarmguide/NavigationDrawerFragment$NavigationDrawerCallbacks;
    }
.end annotation


# instance fields
.field private mAdsButton:Landroid/view/View;

.field private mCallbacks:Llt/noframe/gpsfarmguide/NavigationDrawerFragment$NavigationDrawerCallbacks;

.field private mCurrentSelectedPosition:I

.field private mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

.field private mDrawerListView:Landroid/widget/ListView;

.field private mDrawerToggle:Landroidx/appcompat/app/ActionBarDrawerToggle;

.field private mFragmentContainerView:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 59
    invoke-direct {p0}, Landroidx/fragment/app/Fragment;-><init>()V

    const/4 v0, 0x0

    .line 57
    iput v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mCurrentSelectedPosition:I

    return-void
.end method

.method static synthetic access$000(Llt/noframe/gpsfarmguide/NavigationDrawerFragment;I)V
    .locals 0

    .line 33
    invoke-direct {p0, p1}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->selectItem(I)V

    return-void
.end method

.method static synthetic access$100(Llt/noframe/gpsfarmguide/NavigationDrawerFragment;)Landroidx/drawerlayout/widget/DrawerLayout;
    .locals 0

    .line 33
    iget-object p0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    return-object p0
.end method

.method static synthetic access$200(Llt/noframe/gpsfarmguide/NavigationDrawerFragment;)Landroidx/appcompat/app/ActionBarDrawerToggle;
    .locals 0

    .line 33
    iget-object p0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerToggle:Landroidx/appcompat/app/ActionBarDrawerToggle;

    return-object p0
.end method

.method private getActionBar()Landroidx/appcompat/app/ActionBar;
    .locals 1

    .line 338
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Llt/noframe/gpsfarmguide/views/ActivityDrawer;

    invoke-virtual {v0}, Landroidx/appcompat/app/AppCompatActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object v0

    return-object v0
.end method

.method private selectItem(I)V
    .locals 2

    .line 242
    iput p1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mCurrentSelectedPosition:I

    .line 243
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerListView:Landroid/widget/ListView;

    if-eqz v0, :cond_0

    const/4 v1, 0x1

    .line 244
    invoke-virtual {v0, p1, v1}, Landroid/widget/ListView;->setItemChecked(IZ)V

    .line 246
    :cond_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    if-eqz v0, :cond_1

    .line 247
    iget-object v1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mFragmentContainerView:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->closeDrawer(Landroid/view/View;)V

    .line 249
    :cond_1
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mCallbacks:Llt/noframe/gpsfarmguide/NavigationDrawerFragment$NavigationDrawerCallbacks;

    if-eqz v0, :cond_2

    .line 250
    invoke-interface {v0, p1}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$NavigationDrawerCallbacks;->onNavigationDrawerItemSelected(I)V

    :cond_2
    return-void
.end method

.method private showGlobalContextActionBar()V
    .locals 2

    .line 330
    invoke-direct {p0}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->getActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object v0

    const/4 v1, 0x1

    .line 332
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setDisplayShowTitleEnabled(Z)V

    const/4 v1, 0x0

    .line 333
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setNavigationMode(I)V

    return-void
.end method


# virtual methods
.method public adsRemoved()V
    .locals 2

    .line 231
    sget-object v0, Llt/noframe/gpsfarmguide/utils/Preferences;->ADS_REMOVED:Llt/minvib/magicpreferences/MagicBooleanPreference;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Llt/minvib/magicpreferences/MagicBooleanPreference;->get(Landroid/content/Context;)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 232
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mAdsButton:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public isDrawerOpen()Z
    .locals 2

    .line 157
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    if-eqz v0, :cond_0

    iget-object v1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mFragmentContainerView:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->isDrawerOpen(Landroid/view/View;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public lockDrawerClosed()V
    .locals 2

    .line 262
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    if-eqz v0, :cond_0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->setDrawerLockMode(I)V

    :cond_0
    return-void
.end method

.method public onActivityCreated(Landroid/os/Bundle;)V
    .locals 1

    .line 75
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onActivityCreated(Landroid/os/Bundle;)V

    const/4 p1, 0x1

    .line 77
    invoke-virtual {p0, p1}, Landroidx/fragment/app/Fragment;->setHasOptionsMenu(Z)V

    .line 79
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Llt/noframe/gpsfarmguide/utils/Utils;->checkPlayServices(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 80
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    invoke-virtual {v0, p1}, Landroidx/drawerlayout/widget/DrawerLayout;->setDrawerLockMode(I)V

    .line 81
    invoke-direct {p0}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->getActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object p1

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroidx/appcompat/app/ActionBar;->setDisplayHomeAsUpEnabled(Z)V

    :cond_0
    return-void
.end method

.method public onAttach(Landroid/app/Activity;)V
    .locals 1

    .line 278
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onAttach(Landroid/app/Activity;)V

    .line 280
    :try_start_0
    check-cast p1, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$NavigationDrawerCallbacks;

    iput-object p1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mCallbacks:Llt/noframe/gpsfarmguide/NavigationDrawerFragment$NavigationDrawerCallbacks;
    :try_end_0
    .catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0

    return-void

    .line 282
    :catch_0
    new-instance p1, Ljava/lang/ClassCastException;

    const-string v0, "Activity must implement NavigationDrawerCallbacks."

    invoke-direct {p1, v0}, Ljava/lang/ClassCastException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 1

    .line 300
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    .line 302
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerToggle:Landroidx/appcompat/app/ActionBarDrawerToggle;

    invoke-virtual {v0, p1}, Landroidx/appcompat/app/ActionBarDrawerToggle;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 64
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onCreate(Landroid/os/Bundle;)V

    if-eqz p1, :cond_0

    const-string v0, "selected_navigation_drawer_position"

    .line 67
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result p1

    iput p1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mCurrentSelectedPosition:I

    .line 70
    :cond_0
    iget p1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mCurrentSelectedPosition:I

    invoke-direct {p0, p1}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->selectItem(I)V

    return-void
.end method

.method public onCreateOptionsMenu(Landroid/view/Menu;Landroid/view/MenuInflater;)V
    .locals 1

    .line 309
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->isDrawerOpen()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 311
    invoke-direct {p0}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->showGlobalContextActionBar()V

    .line 313
    :cond_0
    invoke-super {p0, p1, p2}, Landroidx/fragment/app/Fragment;->onCreateOptionsMenu(Landroid/view/Menu;Landroid/view/MenuInflater;)V

    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 3

    const p3, 0x7f0c005f

    const/4 v0, 0x0

    .line 89
    invoke-virtual {p1, p3, p2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    const p2, 0x7f090166

    .line 92
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/ListView;

    iput-object p2, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerListView:Landroid/widget/ListView;

    .line 93
    iget-object p2, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerListView:Landroid/widget/ListView;

    new-instance p3, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$1;

    invoke-direct {p3, p0}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$1;-><init>(Llt/noframe/gpsfarmguide/NavigationDrawerFragment;)V

    invoke-virtual {p2, p3}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 99
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 100
    new-instance p3, Ljava/util/ArrayList;

    invoke-direct {p3}, Ljava/util/ArrayList;-><init>()V

    .line 102
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const v1, 0x7f1100b8

    invoke-virtual {v0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

  #  invoke-virtual {p2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 103
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const v1, 0x7f1100b9

    invoke-virtual {v0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const v0, 0x7f1101ed

    .line 104
    invoke-virtual {p0, v0}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 105
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const v1, 0x7f1100ba

    invoke-virtual {v0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 106
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const v1, 0x7f110096

    invoke-virtual {v0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const v0, 0x7f080123

    .line 108
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

  #  invoke-virtual {p3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const v0, 0x7f08011f

    .line 109
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {p3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const v0, 0x7f0800b2

    .line 110
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {p3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const v0, 0x7f08015e

    .line 111
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {p3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const v0, 0x7f0800f3

    .line 112
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {p3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 113
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerListView:Landroid/widget/ListView;

    new-instance v1, Llt/noframe/gpsfarmguide/DrawerAdapter;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v2

    invoke-direct {v1, v2, p2, p3}, Llt/noframe/gpsfarmguide/DrawerAdapter;-><init>(Landroid/content/Context;Ljava/util/ArrayList;Ljava/util/ArrayList;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 114
    iget-object p2, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerListView:Landroid/widget/ListView;

    iget p3, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mCurrentSelectedPosition:I

    const/4 v0, 0x1

    invoke-virtual {p2, p3, v0}, Landroid/widget/ListView;->setItemChecked(IZ)V

    const p2, 0x7f0901d4

    .line 117
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/LinearLayout;

    iput-object p2, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mAdsButton:Landroid/view/View;

    .line 119
    sget-object p2, Llt/noframe/gpsfarmguide/utils/Preferences;->ADS_REMOVED:Llt/minvib/magicpreferences/MagicBooleanPreference;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object p3

    invoke-virtual {p2, p3}, Llt/minvib/magicpreferences/MagicBooleanPreference;->get(Landroid/content/Context;)Ljava/lang/Boolean;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p2

    if-eqz p2, :cond_0

    .line 120
    iget-object p2, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mAdsButton:Landroid/view/View;

    const/16 p3, 0x8

    invoke-virtual {p2, p3}, Landroid/view/View;->setVisibility(I)V

    .line 123
    :cond_0
    iget-object p2, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mAdsButton:Landroid/view/View;

    new-instance p3, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$2;

    invoke-direct {p3, p0}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$2;-><init>(Llt/noframe/gpsfarmguide/NavigationDrawerFragment;)V

    invoke-virtual {p2, p3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-object p1
.end method

.method public onDetach()V
    .locals 1

    .line 288
    invoke-super {p0}, Landroidx/fragment/app/Fragment;->onDetach()V

    const/4 v0, 0x0

    .line 289
    iput-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mCallbacks:Llt/noframe/gpsfarmguide/NavigationDrawerFragment$NavigationDrawerCallbacks;

    return-void
.end method

.method public onOptionsItemSelected(Landroid/view/MenuItem;)Z
    .locals 1

    .line 318
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerToggle:Landroidx/appcompat/app/ActionBarDrawerToggle;

    invoke-virtual {v0, p1}, Landroidx/appcompat/app/ActionBarDrawerToggle;->onOptionsItemSelected(Landroid/view/MenuItem;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 p1, 0x1

    return p1

    .line 322
    :cond_0
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onOptionsItemSelected(Landroid/view/MenuItem;)Z

    move-result p1

    return p1
.end method

.method public onSaveInstanceState(Landroid/os/Bundle;)V
    .locals 2

    .line 294
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onSaveInstanceState(Landroid/os/Bundle;)V

    .line 295
    iget v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mCurrentSelectedPosition:I

    const-string v1, "selected_navigation_drawer_position"

    invoke-virtual {p1, v1, v0}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    return-void
.end method

.method public setUp(ILandroidx/drawerlayout/widget/DrawerLayout;)V
    .locals 6

    .line 167
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mFragmentContainerView:Landroid/view/View;

    .line 168
    iput-object p2, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    .line 171
    iget-object p1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    const p2, 0x7f0800b5

    const v0, 0x800003

    invoke-virtual {p1, p2, v0}, Landroidx/drawerlayout/widget/DrawerLayout;->setDrawerShadow(II)V

    .line 174
    invoke-direct {p0}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->getActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object p1

    const/4 p2, 0x0

    .line 175
    invoke-virtual {p1, p2}, Landroidx/appcompat/app/ActionBar;->setDisplayHomeAsUpEnabled(Z)V

    .line 176
    invoke-virtual {p1, p2}, Landroidx/appcompat/app/ActionBar;->setHomeButtonEnabled(Z)V

    .line 180
    new-instance p1, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$3;

    .line 181
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v2

    iget-object v3, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    const v4, 0x7f11014d

    const v5, 0x7f11014c

    move-object v0, p1

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$3;-><init>(Llt/noframe/gpsfarmguide/NavigationDrawerFragment;Landroid/app/Activity;Landroidx/drawerlayout/widget/DrawerLayout;II)V

    iput-object p1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerToggle:Landroidx/appcompat/app/ActionBarDrawerToggle;

    .line 207
    iget-object p1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    new-instance p2, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$4;

    invoke-direct {p2, p0}, Llt/noframe/gpsfarmguide/NavigationDrawerFragment$4;-><init>(Llt/noframe/gpsfarmguide/NavigationDrawerFragment;)V

    invoke-virtual {p1, p2}, Landroid/view/ViewGroup;->post(Ljava/lang/Runnable;)Z

    .line 213
    iget-object p1, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    iget-object p2, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerToggle:Landroidx/appcompat/app/ActionBarDrawerToggle;

    invoke-virtual {p1, p2}, Landroidx/drawerlayout/widget/DrawerLayout;->setDrawerListener(Landroidx/drawerlayout/widget/DrawerLayout$DrawerListener;)V

    return-void
.end method

.method public unlockDrawer()V
    .locals 2

    .line 270
    iget-object v0, p0, Llt/noframe/gpsfarmguide/NavigationDrawerFragment;->mDrawerLayout:Landroidx/drawerlayout/widget/DrawerLayout;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroidx/drawerlayout/widget/DrawerLayout;->setDrawerLockMode(I)V

    :cond_0
    return-void
.end method
